simChef is a powerful framework for designing, documenting, and deploying simulation experiments in R.
Goals:
Experiment: a collection of related simulation scenarios.
DGP: Data-generating processes, which define the “ground truth” and flexibly generate simulated data.
Method: The main objects of study, along with baselines.
Evaluator: Produce meaningful statistics and summaries of the results.
Visualizer: Output plots, tables, R Markdown, latex, etc. to populate interactive experiment documentation.
library(future)
n_workers <- availableCores()
plan(multisession, workers = n_workers)
results <- experiment %>%
run_experiment(n_reps = 200,
save = TRUE)Fitting empirical-fdr-comparison...
Saving fit results...
Fit results saved | time taken: 0.252786 seconds
200 reps completed (totals: 200/200) | time taken: 17.675338 minutes
==============================
Other helpful features:
We acknowledge a number of funding sources and grants that help support our research, including the Weill Neurohub, C3.ai, and the NSF.